package com.example.mycourse.adapter;

import android.net.Uri;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.Spinner;

import androidx.appcompat.app.AppCompatActivity;

import com.example.mycourse.R;

public class QuestionSpinner extends AppCompatActivity  implements AdapterView.OnItemSelectedListener {
    private Spinner mQuesSpinner = null;
    @Override
    protected  void onCreate(Bundle saveInnstanceState){
        super.onCreate(saveInnstanceState);
        setContentView(R.layout.activity_register);

        //获取界面文件中Spinner组件

        //为Spinner设置选中事件监听器
//        mQuesSpinner.setOnItemClickListener(this);

    }

    @Override
    public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {

    }

    @Override
    public void onNothingSelected(AdapterView<?> parent) {

    }
}
